<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Rapport.aspx.cs" Inherits="LAFDC.Web.UI.Rapport" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
    <title>Rapports</title>
    <link type="text/css" rel="stylesheet" href="style.css"/>
</head>
<body>
    <form id="form1" runat="server">
        <div id="header">
        <table style="width: 100%">
            <tr style="height: 30px">
                <td style="width: 3%" align="center"><a href="default.html" target="_parent">
                    <img alt="Accueil" src="images/home_16x16.PNG" border="0" /></a></td>
                <td style="width: 70%">
                    Fichier adherent: Rapport
                    <asp:Label ID="Label1" runat="server" Font-Names="Verdana"></asp:Label></td>
                <td style="width: 20%" align="right">
                    <asp:HyperLink ID="imgAdd" runat="server" ImageUrl="/LAFDCWeb/images/add.gif" />
                    <asp:HyperLink ID="imgEdit" runat="server" ImageUrl="/LAFDCWeb/images/edit.gif"/>
                </td>
            </tr>
        </table>
        <hr />
    </div>
    <div>
        <table>
            <tr>
                <td>
    Selectionner un type de filtre:</td>
                <td>
        <asp:DropDownList ID="listFilter" runat="server">
            <asp:ListItem>Asso</asp:ListItem>
            <asp:ListItem>Section</asp:ListItem>
            <asp:ListItem>Nom</asp:ListItem>
        </asp:DropDownList></td>
                <td align="center" style="width: 116px">
                    <asp:Button ID="btFiltreType" runat="server" OnClick="btFiltreType_Click" Text="Valider le filtre" /></td>
            </tr>
            <tr>
                <td>
        <asp:Label ID="lblFilterText" Text="test" runat="server"></asp:Label></td>
                <td>
                    <asp:TextBox ID="TextBox1" runat="server"></asp:TextBox></td>
                <td style="width: 116px">
                    <asp:Button ID="btFiltreValeur" runat="server" OnClick="btFiltreValeur_Click" Text="Valider le filtre"
                        Visible="False" /></td>
            </tr>
            <tr>
                <td>
                </td>
                <td>
                </td>
                <td style="width: 116px">
                </td>
            </tr>
        </table>
        <br />
        &nbsp;<br />
        <br />
        <br />
          <asp:GridView ID="GridView1" AllowSorting="True" AllowPaging="True" runat="server"
            DataSourceID="SqlDataSource1" DataKeyNames="prev_id" PageSize="25"
            AutoGenerateColumns="False" Width="100%" Height="100%" Visible="false">
            <Columns>
            <asp:HyperLinkField HeaderText="Consultation" Text="Consultation" DataNavigateUrlFields="prev_id"
            DataNavigateUrlFormatString="AdhConsultation.aspx?adh={0}" />
              <asp:BoundField DataField="Civilite" HeaderText="Civilite" ReadOnly="True" SortExpression="Civilite" />
              <asp:BoundField DataField="Prenom" HeaderText="Prenom" SortExpression="Prenom" />
              <asp:BoundField DataField="Nom" HeaderText="Nom" SortExpression="Nom" />
              <asp:BoundField DataField="Asso" HeaderText="Asso" SortExpression="Asso" />
              <asp:BoundField DataField="Section" HeaderText="Section" SortExpression="Section" />
            </Columns>
          </asp:GridView>
          <asp:SqlDataSource ID="SqlDataSource1" runat="server">
          </asp:SqlDataSource>
    </div>
    </form>
</body>
</html>
